<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/filemanager/treestore.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--filemanager.html'>filemanager</a>/treestore.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--filemanager.html'>filemanager</a>/treestore.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/filemanager/treestore.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/treestore.h.html' title='Multiple included from 4 places.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/** \file treestore.h</em>
<a id='L2' name='L2'></a>   2 <em class='comment'> *  \brief Header: tree store</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> *</em>
<a id='L4' name='L4'></a>   4 <em class='comment'> *  Contains a storage of the file system tree representation.</em>
<a id='L5' name='L5'></a>   5 <em class='comment'> */</em>
<a id='L6' name='L6'></a>   6 
<a id='L7' name='L7'></a>   7 <em class='sharp'>#ifndef</em> <a href='../S/src--filemanager--treestore.h.html#L8' title='Defined at 8 in src/filemanager/treestore.h.'>MC__TREE_STORE_H</a>
<a id='L8' name='L8'></a>   8 <em class='sharp'>#define</em> <a href='../S/src--filemanager--treestore.h.html#L7' title='Referred from 7 in src/filemanager/treestore.h.'>MC__TREE_STORE_H</a>
<a id='L9' name='L9'></a>   9 
<a id='L10' name='L10'></a>  10 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L11' name='L11'></a>  11 
<a id='L12' name='L12'></a>  12 <em class='comment'>/*</em>
<a id='L13' name='L13'></a>  13 <em class='comment'> * Register/unregister notification functions for "entry_remove"</em>
<a id='L14' name='L14'></a>  14 <em class='comment'> */</em>
<a id='L15' name='L15'></a>  15 <strong class='reserved'>struct</strong> <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a>;
<a id='L16' name='L16'></a>  16 <strong class='reserved'>typedef</strong> <strong class='reserved'>void</strong> (*<a href='../Y/tree_store_remove_fn.html' title='Multiple used in 6 places.'>tree_store_remove_fn</a>) (<strong class='reserved'>struct</strong> <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> * <a href='../Y/tree.html' title='Multiple used in 283 places.'>tree</a>, <strong class='reserved'>void</strong> *<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L17' name='L17'></a>  17 
<a id='L18' name='L18'></a>  18 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L19' name='L19'></a>  19 
<a id='L20' name='L20'></a>  20 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L21' name='L21'></a>  21 
<a id='L22' name='L22'></a>  22 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong> <a href='../R/tree_entry.html' title='Multiple referred from 50 places.'>tree_entry</a>
<a id='L23' name='L23'></a>  23 <em class='brace'>{</em>
<a id='L24' name='L24'></a>  24     <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/name.html' title='Multiple used in 736 places.'>name</a>;           <em class='comment'>/* The full path of directory */</em>
<a id='L25' name='L25'></a>  25     <strong class='reserved'>int</strong> <a href='../Y/sublevel.html' title='Multiple used in 26 places.'>sublevel</a>;               <em class='comment'>/* Number of parent directories (slashes) */</em>
<a id='L26' name='L26'></a>  26     <strong class='reserved'>long</strong> <a href='../Y/submask.html' title='Multiple used in 14 places.'>submask</a>;               <em class='comment'>/* Bitmask of existing sublevels after this entry */</em>
<a id='L27' name='L27'></a>  27     <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/subname.html' title='Multiple used in 12 places.'>subname</a>;        <em class='comment'>/* The last part of name (the actual name) */</em>
<a id='L28' name='L28'></a>  28     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/mark.html' title='Multiple used in 30 places.'>mark</a>;              <em class='comment'>/* Flag: Is this entry marked (e. g. for delete)? */</em>
<a id='L29' name='L29'></a>  29     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/scanned.html' title='Multiple used in 9 places.'>scanned</a>;           <em class='comment'>/* Flag: childs scanned or not */</em>
<a id='L30' name='L30'></a>  30     <strong class='reserved'>struct</strong> <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../Y/next.html' title='Multiple used in 271 places.'>next</a>;    <em class='comment'>/* Next item in the list */</em>
<a id='L31' name='L31'></a>  31     <strong class='reserved'>struct</strong> <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../Y/prev.html' title='Multiple used in 103 places.'>prev</a>;    <em class='comment'>/* Previous item in the list */</em>
<a id='L32' name='L32'></a>  32 <em class='brace'>}</em> <a href='../R/tree_entry.html' title='Multiple referred from 50 places.'>tree_entry</a>;
<a id='L33' name='L33'></a>  33 
<a id='L34' name='L34'></a>  34 <strong class='reserved'>struct</strong> <a href='../R/TreeStore.html' title='Multiple referred from 4 places.'>TreeStore</a>
<a id='L35' name='L35'></a>  35 <em class='brace'>{</em>
<a id='L36' name='L36'></a>  36     <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../Y/tree_first.html' title='Multiple used in 17 places.'>tree_first</a>;     <em class='comment'>/* First entry in the list */</em>
<a id='L37' name='L37'></a>  37     <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../Y/tree_last.html' title='Multiple used in 6 places.'>tree_last</a>;      <em class='comment'>/* Last entry in the list */</em>
<a id='L38' name='L38'></a>  38     <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../Y/check_start.html' title='Multiple used in 6 places.'>check_start</a>;    <em class='comment'>/* Start of checked subdirectories */</em>
<a id='L39' name='L39'></a>  39     <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/check_name.html' title='Multiple used in 14 places.'>check_name</a>;
<a id='L40' name='L40'></a>  40     <a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> *<a href='../Y/add_queue_vpath.html' title='Multiple used in 4 places.'>add_queue_vpath</a>;     <em class='comment'>/* List of vfs_path_t objects of added directories */</em>
<a id='L41' name='L41'></a>  41     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/loaded.html' title='Multiple used in 23 places.'>loaded</a>;
<a id='L42' name='L42'></a>  42     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>;
<a id='L43' name='L43'></a>  43 <em class='brace'>}</em>;
<a id='L44' name='L44'></a>  44 
<a id='L45' name='L45'></a>  45 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L46' name='L46'></a>  46 
<a id='L47' name='L47'></a>  47 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L48' name='L48'></a>  48 
<a id='L49' name='L49'></a>  49 <strong class='reserved'>struct</strong> <a href='../S/src--filemanager--treestore.h.html#L34' title='Defined at 34 in src/filemanager/treestore.h.'>TreeStore</a> *<a href='../S/src--filemanager--treestore.c.html#L609' title='Defined at 609 in src/filemanager/treestore.c.'>tree_store_get</a> (<strong class='reserved'>void</strong>);
<a id='L50' name='L50'></a>  50 <strong class='reserved'>int</strong> <a href='../S/src--filemanager--treestore.c.html#L622' title='Defined at 622 in src/filemanager/treestore.c.'>tree_store_load</a> (<strong class='reserved'>void</strong>);
<a id='L51' name='L51'></a>  51 <strong class='reserved'>int</strong> <a href='../S/src--filemanager--treestore.c.html#L642' title='Defined at 642 in src/filemanager/treestore.c.'>tree_store_save</a> (<strong class='reserved'>void</strong>);
<a id='L52' name='L52'></a>  52 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--treestore.c.html#L679' title='Defined at 679 in src/filemanager/treestore.c.'>tree_store_remove_entry</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/name_vpath.html' title='Multiple used in 22 places.'>name_vpath</a>);
<a id='L53' name='L53'></a>  53 <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../S/src--filemanager--treestore.c.html#L792' title='Defined at 792 in src/filemanager/treestore.c.'>tree_store_start_check</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>);
<a id='L54' name='L54'></a>  54 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--treestore.c.html#L727' title='Defined at 727 in src/filemanager/treestore.c.'>tree_store_mark_checked</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/subname.html' title='Multiple used in 12 places.'>subname</a>);
<a id='L55' name='L55'></a>  55 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--treestore.c.html#L848' title='Defined at 848 in src/filemanager/treestore.c.'>tree_store_end_check</a> (<strong class='reserved'>void</strong>);
<a id='L56' name='L56'></a>  56 <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../S/src--filemanager--treestore.c.html#L594' title='Defined at 594 in src/filemanager/treestore.c.'>tree_store_whereis</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/name.html' title='Multiple used in 736 places.'>name</a>);
<a id='L57' name='L57'></a>  57 <a href='../D/tree_entry.html' title='Multiple defined in 2 places.'>tree_entry</a> *<a href='../S/src--filemanager--treestore.c.html#L892' title='Defined at 892 in src/filemanager/treestore.c.'>tree_store_rescan</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>);
<a id='L58' name='L58'></a>  58 
<a id='L59' name='L59'></a>  59 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--treestore.c.html#L663' title='Defined at 663 in src/filemanager/treestore.c.'>tree_store_add_entry_remove_hook</a> (<a href='../Y/tree_store_remove_fn.html' title='Multiple used in 6 places.'>tree_store_remove_fn</a> <a href='../Y/callback.html' title='Multiple used in 80 places.'>callback</a>, <strong class='reserved'>void</strong> *<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L60' name='L60'></a>  60 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--treestore.c.html#L671' title='Defined at 671 in src/filemanager/treestore.c.'>tree_store_remove_entry_remove_hook</a> (<a href='../Y/tree_store_remove_fn.html' title='Multiple used in 6 places.'>tree_store_remove_fn</a> <a href='../Y/callback.html' title='Multiple used in 80 places.'>callback</a>);
<a id='L61' name='L61'></a>  61 
<a id='L62' name='L62'></a>  62 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L63' name='L63'></a>  63 <em class='sharp'>#endif</em> <em class='comment'>/* MC__TREE_STORE_H */</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+63 src/filemanager/treestore.h'  /> */</em>
</body>
</html>
